package com.titanrise.crm.domain.model;

import com.titanrise.crm.environment.annotation.TableColumn;
import com.titanrise.crm.environment.annotation.TableID;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;


@Data
@Builder
@AllArgsConstructor
public class Salesperson {

    /**
     * id
     */
    @TableID("id")
    private String id;

    /**
     * 用户id
     */
    @TableColumn("user_id")
    private String userId;

    /**
     * 销售人员电话号码
     */
    @TableColumn("phone_number")
    private String phoneNumber;


    /**
     * 薪水
     */
    @TableColumn("salary")
    private BigDecimal salary;


    /**
     * 创建时间
     */
    @TableColumn("create_time")
    private LocalDateTime createTime;


}
